﻿<div id="multiple_post">
<?php 
	
	for($i=1;$i<10 && have_posts();++$i) {?>
  <div class="post_content_main ">
  <?PHP
the_post();
  if( has_post_thumbnail() && is_home() ) the_post_thumbnail(array(150,150));
else { /* ?>
<img class="attachment-150x150" src="<?php bloginfo('template_url'); 
	//$templatePath= get_absolute_template_path();
	//$settings=	json_decode(file_get_contents($templatePath."/settings.txt"));
	//echo "/images/reader.jpg";//. $settings->title_image; 
	
?>" alt="default post icon" style="height: 150px;width:150px"/>
	
<?PHP */;
echo get_avatar( get_the_author_meta('user_email'),80 );
} ?>
     <div class="title">
	 <!--
         <div class="other" style="">
             <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="godhulii">Tweet</a>
             <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/twitter.js"></script>
             <br />
         </div>
     -->
		
		<a href="<?PHP the_permalink(); ?>">
		<div><?PHP the_title(); ?></div>
		 <!--
      <h2>Welcome</h2>
      lace holder so you can see how the site would look like.
         -->
		</a>
    </div>

     <div class="excerpt_content_main">
         <?PHP 
			if( is_sticky() || $i<=0 ) 
				the_content();
			else
				the_excerpt(); //echo '[...]';
		?>
		 <!-- <a href="<?PHP the_permalink(); ?>"><small>Continue</small></a> -->
     </div>
      <br />      
  </div>

<?php } ?>

<?php if(function_exists('wp_simple_pagination')) {
    wp_simple_pagination();
} ?>     
</div> <!--  mutiple post div ends here -->